FROM registry.openanolis.cn/openanolis/anolisos:8.6

# 安装nginx
RUN yum install -y https://nginx.org/packages/centos/8/aarch64/RPMS/nginx-1.26.2-1.el8.ngx.aarch64.rpm

ENV NGINX_HOME /usr/share/nginx
ADD ./dist/ ${NGINX_HOME}/html/digitalPeople3/

EXPOSE 80

EXPOSE 443

CMD ["nginx", "-g", "daemon off;"]
